package cn.cdeden.aiqa.domain.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class DifySegmentsVo {

    private List<Data> data;
    private String docForm;

    @lombok.Data
    public static class Data {
        private String id;
        private int position;
        @JsonProperty("document_id")
        private String documentId;
        private String content;
        private String answer;
        @JsonProperty("word_count")
        private int wordCount;
        private int tokens;
        private List<String> keywords;
        @JsonProperty("index_node_id")
        private String indexNodeId;
        @JsonProperty("index_node_hash")
        private String indexNodeHash;
        @JsonProperty("hit_count")
        private int hitCount;
        private boolean enabled;
        @JsonProperty("disabled_at")
        private Object disabledAt;
        @JsonProperty("disabled_by")
        private Object disabledBy;
        private String status;
        @JsonProperty("created_by")
        private String createdBy;
        @JsonProperty("created_at")
        private long createdAt;
        @JsonProperty("indexing_at")
        private long indexingAt;
        @JsonProperty("completed_at")
        private long completedAt;
        private Object error;
        @JsonProperty("stopped_at")
        private Object stoppedAt;
    }

}
